namespace ARTestModel.Model
{
    using System.Collections.Generic;
    using Castle.ActiveRecord;

    [ActiveRecord]
    public class Order
    {
        public Order()
        {
        }

        [PrimaryKey]
        public int Id { get; set; }

        [HasMany]
        public IList<OrderItem> OrderItems { get; set; }

        [BelongsTo]
        public Customer TheCustomer { get; set; }
    }
}